load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "addindextest1_test",
    timeout = "long",
    srcs = [
        "disttask_test.go",
        "main_test.go",
    ],
    flaky = True,
    deps = [
        "//pkg/config",
        "//pkg/ddl/ingest",
        "//pkg/disttask/framework/storage",
        "//pkg/disttask/framework/taskexecutor",
        "//pkg/errno",
        "//pkg/meta/model",
        "//pkg/sessionctx/variable",
        "//pkg/testkit",
        "//pkg/testkit/testfailpoint",
        "//tests/realtikvtest",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_stretchr_testify//require",
        "@com_github_tikv_client_go_v2//util",
    ],
)
